home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global cards, whereto
- robo = 0
- if whereto = "psy" then
- repeat with i = 1 to 1
- if item i of cards = "0" then
- robo = 1
- end if
- end repeat
- if robo = "0" then
- go("enterdoc", the moviePath & "comein.dxr")
- else
- sprite(63).visible = 0
- go("regular")
- end if
- else
- if whereto = "doc" then
- repeat with i = 1 to 3
- if item i of cards = "0" then
- robo = 1
- end if
- end repeat
- if robo = "0" then
- go(1, the moviePath & "enter3.dxr")
- else
- sprite(63).visible = 0
- go("regular")
- end if
- else
- if whereto = "hat" then
- repeat with i = 1 to 4
- if item i of cards = "0" then
- robo = 1
- end if
- end repeat
- if robo = "0" then
- go(1, the moviePath & "enter4.dxr")
- else
- sprite(63).visible = 0
- go("regular")
- end if
- else
- if whereto = "poz" then
- repeat with i = 1 to 6
- if item i of cards = "0" then
- robo = 1
- end if
- end repeat
- if robo = "0" then
- go(1, the moviePath & "enter5.dxr")
- else
- sprite(63).visible = 0
- go("regular")
- end if
- else
- repeat with i = 1 to 8
- if item i of cards = "0" then
- robo = 1
- end if
- end repeat
- if robo = "0" then
- go(1, the moviePath & "enter6.dxr")
- else
- sprite(63).visible = 0
- go("regular")
- end if
- end if
- end if
- end if
- end if
- end
-